package cz.data.domain.metadata.model.query;

import cz.data.common.base.BaseQueryParams;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 元数据信息表 查询实体
 * </p>
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MetadataColumnQuery extends BaseQueryParams {

    private static final long serialVersionUID=1L;

    private String sourceId;

    private String tableId;

    private String columnName;

    public static MetadataColumnQuery formTableId(String tableId) {
        MetadataColumnQuery query = new MetadataColumnQuery();
        query.setTableId(tableId);
        return query;
    }
}
